package com.gsafety.wellsfort.dao.course;

import com.gsafety.wellsfort.domain.model.course.ExamPublishRange;
import com.gsafety.wellsfort.domain.model.course.WorkPublishRange;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamPublishRangeDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByExamPublishId(Integer examPublishId);

    int insert(ExamPublishRange record);

    int insertSelective(ExamPublishRange record);

    ExamPublishRange selectByPrimaryKey(Integer id);

    List<ExamPublishRange> selectByExamPublishId(Integer examPublishId);

    int updateByPrimaryKeySelective(ExamPublishRange record);

    int updateByPrimaryKey(ExamPublishRange record);

    List<ExamPublishRange> selectByCondition(@Param("examPublishId") Integer examPublishId, @Param("schoolId") Integer schoolId, @Param("classId") Integer classId);
}